I was wondering if you could help me? I would like to add a new gateway pull request, but I'm trying to create the correct regular expression that parses the response for success and error format when setting up a gateway for django-sms-gateway.
django-sms-gateway asks for... A regular expression that parses the response. May contain named groups for "gateway_message_id", "status_message" and "status_code".
This is what I have tried for the following gateway that's shown below but it does not match...
the gateway returns this following text including the headers...
error code|error text|submission reference 0|sms submitted|eb725f96b4b094d5f8318741cc1a545f-2
error code|error text|submission reference 0|sms submitted|[32 characters]-[1 character]
in the db status_text all i get matched is the word 'error text'.
this is the gateway I'm trying to integrate (see page 5) http://www.itagg.com/downloads/techdocs/itagg_api_std.pdf
any help would really, really be appreciated.